Terminate Spot Instances directly via EC2 console, AWS CLI, or SDK; for Spot Fleets, you can terminate individual instances or cancel the entire fleet request with instance termination.
You can terminate Spot Instances the same way you terminate On-Demand Instances: via the EC2 console, AWS CLI (terminate-instances), or SDK. However, termination behavior differs based on how the instance was launched. For instances launched from a one-time Spot request, terminating the instance also cancels the request. For persistent requests, terminating the instance causes a new instance to launch automatically to maintain capacity.
You can only stop a Spot Instance if it was launched from a persistent Spot Instance request [citation:1]
You cannot stop a Spot Instance if the associated Spot request has been cancelled [citation:1]
You cannot stop a Spot Instance if it is part of a fleet, launch group, or Availability Zone group [citation:1]
When you stop a Spot Instance from a persistent request, the request enters a disabled state and will not automatically restart the instance [citation:8]
If you terminate a Spot Instance from a persistent request, a new instance launches automatically to maintain capacity [citation:8]